<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cbp2make: CMakefileSection Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cbp2make
   </div>
   <div id="projectbrief">Makefile generation tool for Code::Blocks IDE</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d9/d71/classCMakefileSection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CMakefileSection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Makefile section definition.  
 <a href="../../d8/d7c/classCMakefileSection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../d1/d9e/makefile_8h_source.html">makefile.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af08b2da5cf2bea30f88d82e7076288ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#af08b2da5cf2bea30f88d82e7076288ea">Clear</a> (void)</td></tr>
<tr class="memdesc:af08b2da5cf2bea30f88d82e7076288ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the makefile section to the initial state.  <a href="#af08b2da5cf2bea30f88d82e7076288ea">More...</a><br/></td></tr>
<tr class="separator:af08b2da5cf2bea30f88d82e7076288ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a190c932398264095c33f9aed3162fa4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a190c932398264095c33f9aed3162fa4c">Show</a> (void)</td></tr>
<tr class="memdesc:a190c932398264095c33f9aed3162fa4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints contents of the makefile section to the standard output.  <a href="#a190c932398264095c33f9aed3162fa4c">More...</a><br/></td></tr>
<tr class="separator:a190c932398264095c33f9aed3162fa4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59809cace68f470cfe6e8b6f9af3765c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/daa/classCStringList.html">CStringList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a59809cace68f470cfe6e8b6f9af3765c">Header</a> (void)</td></tr>
<tr class="memdesc:a59809cace68f470cfe6e8b6f9af3765c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Section header, describes makefile section contents.  <a href="#a59809cace68f470cfe6e8b6f9af3765c">More...</a><br/></td></tr>
<tr class="separator:a59809cace68f470cfe6e8b6f9af3765c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefd7a83c39397eff928e487ef5e4830f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#aefd7a83c39397eff928e487ef5e4830f">Macros</a> (void)</td></tr>
<tr class="memdesc:aefd7a83c39397eff928e487ef5e4830f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of macro variables in the section.  <a href="#aefd7a83c39397eff928e487ef5e4830f">More...</a><br/></td></tr>
<tr class="separator:aefd7a83c39397eff928e487ef5e4830f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d5ca98517803f8cb61bbbcdb9a4617f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a1d5ca98517803f8cb61bbbcdb9a4617f">EnvVars</a> (void)</td></tr>
<tr class="memdesc:a1d5ca98517803f8cb61bbbcdb9a4617f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of environment variables in the section.  <a href="#a1d5ca98517803f8cb61bbbcdb9a4617f">More...</a><br/></td></tr>
<tr class="separator:a1d5ca98517803f8cb61bbbcdb9a4617f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac106969cabae16d8475a1e36f02672c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#ac106969cabae16d8475a1e36f02672c8">AddMacro</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Name, const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Value)</td></tr>
<tr class="memdesc:ac106969cabae16d8475a1e36f02672c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new macro variable and adds it to the section.  <a href="#ac106969cabae16d8475a1e36f02672c8">More...</a><br/></td></tr>
<tr class="separator:ac106969cabae16d8475a1e36f02672c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6ef8789a7f3906925ffc5d727c431f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#aa6ef8789a7f3906925ffc5d727c431f3">AddEnvVar</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Name, const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Value)</td></tr>
<tr class="memdesc:aa6ef8789a7f3906925ffc5d727c431f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new environment variable and adds it to the section.  <a href="#aa6ef8789a7f3906925ffc5d727c431f3">More...</a><br/></td></tr>
<tr class="separator:aa6ef8789a7f3906925ffc5d727c431f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1fe2aca8d228bdaf3b58ec6c9960153"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#aa1fe2aca8d228bdaf3b58ec6c9960153">RulesCount</a> (void) const </td></tr>
<tr class="memdesc:aa1fe2aca8d228bdaf3b58ec6c9960153"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counts makefile rules in the section.  <a href="#aa1fe2aca8d228bdaf3b58ec6c9960153">More...</a><br/></td></tr>
<tr class="separator:aa1fe2aca8d228bdaf3b58ec6c9960153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bb0288892998d8fef244fc7577603bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a2bb0288892998d8fef244fc7577603bd">GetRule</a> (const size_t Index)</td></tr>
<tr class="memdesc:a2bb0288892998d8fef244fc7577603bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns makefile rule by the <em>Index</em> number.  <a href="#a2bb0288892998d8fef244fc7577603bd">More...</a><br/></td></tr>
<tr class="separator:a2bb0288892998d8fef244fc7577603bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67bd40db35403fb5e1977fed432ec8ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a67bd40db35403fb5e1977fed432ec8ff">AddRule</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;TargetName)</td></tr>
<tr class="memdesc:a67bd40db35403fb5e1977fed432ec8ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new makefile rule and adds it to the section.  <a href="#a67bd40db35403fb5e1977fed432ec8ff">More...</a><br/></td></tr>
<tr class="separator:a67bd40db35403fb5e1977fed432ec8ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2669d3e48d1bc78ef8a72c792d52af7e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a2669d3e48d1bc78ef8a72c792d52af7e">CMakefileSection</a> (void)</td></tr>
<tr class="memdesc:a2669d3e48d1bc78ef8a72c792d52af7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates makefile section.  <a href="#a2669d3e48d1bc78ef8a72c792d52af7e">More...</a><br/></td></tr>
<tr class="separator:a2669d3e48d1bc78ef8a72c792d52af7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ed9b94580dba116e989a6274981288"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#ac8ed9b94580dba116e989a6274981288">~CMakefileSection</a> (void)</td></tr>
<tr class="memdesc:ac8ed9b94580dba116e989a6274981288"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys makefile section.  <a href="#ac8ed9b94580dba116e989a6274981288">More...</a><br/></td></tr>
<tr class="separator:ac8ed9b94580dba116e989a6274981288"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a3b626dd591b6ebbf49382c87f9a4040e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a3b626dd591b6ebbf49382c87f9a4040e">FindMacro</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Name)</td></tr>
<tr class="memdesc:a3b626dd591b6ebbf49382c87f9a4040e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches macro variables by name.  <a href="#a3b626dd591b6ebbf49382c87f9a4040e">More...</a><br/></td></tr>
<tr class="separator:a3b626dd591b6ebbf49382c87f9a4040e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a780f6d59f56d8aee1fbc3687e04eebd5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a780f6d59f56d8aee1fbc3687e04eebd5">FindEnvVar</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Name)</td></tr>
<tr class="memdesc:a780f6d59f56d8aee1fbc3687e04eebd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches environment variables by name.  <a href="#a780f6d59f56d8aee1fbc3687e04eebd5">More...</a><br/></td></tr>
<tr class="separator:a780f6d59f56d8aee1fbc3687e04eebd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a19aff76a974cefa540960369eaed43ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/daa/classCStringList.html">CStringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a19aff76a974cefa540960369eaed43ec">m_Header</a></td></tr>
<tr class="memdesc:a19aff76a974cefa540960369eaed43ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Section header, describes makefile section contents.  <a href="#a19aff76a974cefa540960369eaed43ec">More...</a><br/></td></tr>
<tr class="separator:a19aff76a974cefa540960369eaed43ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77768b7c6c3acb031990ebcbae9957de"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a77768b7c6c3acb031990ebcbae9957de">m_Macros</a></td></tr>
<tr class="memdesc:a77768b7c6c3acb031990ebcbae9957de"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of macro variables in the section.  <a href="#a77768b7c6c3acb031990ebcbae9957de">More...</a><br/></td></tr>
<tr class="separator:a77768b7c6c3acb031990ebcbae9957de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd47bab1b30e88633d75c9fd08497fca"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#acd47bab1b30e88633d75c9fd08497fca">m_EnvVars</a></td></tr>
<tr class="memdesc:acd47bab1b30e88633d75c9fd08497fca"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of environment variables in the section.  <a href="#acd47bab1b30e88633d75c9fd08497fca">More...</a><br/></td></tr>
<tr class="separator:acd47bab1b30e88633d75c9fd08497fca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5ba1d41937450d96795e4e08cb64f49"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#aa5ba1d41937450d96795e4e08cb64f49">m_Rules</a></td></tr>
<tr class="memdesc:aa5ba1d41937450d96795e4e08cb64f49"><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of makefile rules in the section.  <a href="#aa5ba1d41937450d96795e4e08cb64f49">More...</a><br/></td></tr>
<tr class="separator:aa5ba1d41937450d96795e4e08cb64f49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9819eeb550fafffcfe7814ffd859cdd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#ad9819eeb550fafffcfe7814ffd859cdd">m_NullVariable</a></td></tr>
<tr class="memdesc:ad9819eeb550fafffcfe7814ffd859cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">A substitute variable, it is returned when no variable satisfies search conditions.  <a href="#ad9819eeb550fafffcfe7814ffd859cdd">More...</a><br/></td></tr>
<tr class="separator:ad9819eeb550fafffcfe7814ffd859cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30793048110e7a747f5b142bec3143a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d7c/classCMakefileSection.html#a30793048110e7a747f5b142bec3143a7">m_NullRule</a></td></tr>
<tr class="memdesc:a30793048110e7a747f5b142bec3143a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A substitute rule, it is returned when no rule satisfies search conditions.  <a href="#a30793048110e7a747f5b142bec3143a7">More...</a><br/></td></tr>
<tr class="separator:a30793048110e7a747f5b142bec3143a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Makefile section definition. </p>
<p>Manages makefile section data. A makefile section is a logical block of text with common structure: header, macros, environment variables, rules. A makefile may consist of one or more sections to maintain strict logical structure of the makefile text. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2669d3e48d1bc78ef8a72c792d52af7e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::CMakefileSection </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates makefile section. </p>

</div>
</div>
<a class="anchor" id="ac8ed9b94580dba116e989a6274981288"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::~CMakefileSection </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroys makefile section. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa6ef8789a7f3906925ffc5d727c431f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> &amp; CMakefileSection::AddEnvVar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new environment variable and adds it to the section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>name of an environment variable. </td></tr>
    <tr><td class="paramname">Value</td><td>default value of an environment variable. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to the new variable.</dd></dl>
<p>If an environment variable with name <em>Name</em> already exists, a new variable will not be created. </p>

</div>
</div>
<a class="anchor" id="ac106969cabae16d8475a1e36f02672c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> &amp; CMakefileSection::AddMacro </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new macro variable and adds it to the section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>name of a macro variable. </td></tr>
    <tr><td class="paramname">Value</td><td>default value of a macro variable. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to the new variable.</dd></dl>
<p>If a macro variable with name <em>Name</em> already exists, a new variable will not be created. </p>

</div>
</div>
<a class="anchor" id="a67bd40db35403fb5e1977fed432ec8ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a> &amp; CMakefileSection::AddRule </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>TargetName</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new makefile rule and adds it to the section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">TargetName</td><td>name of makefile target for the rule. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to the new rule.</dd></dl>
<p>If a makefile rule with target name <em>TargetName</em> already exists, a new rule will not be created. </p>

</div>
</div>
<a class="anchor" id="af08b2da5cf2bea30f88d82e7076288ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CMakefileSection::Clear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the makefile section to the initial state. </p>

</div>
</div>
<a class="anchor" id="a1d5ca98517803f8cb61bbbcdb9a4617f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt; &amp; CMakefileSection::EnvVars </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A list of environment variables in the section. </p>
<dl class="section return"><dt>Returns</dt><dd>reference to <a class="el" href="../../d8/d7c/classCMakefileSection.html#a77768b7c6c3acb031990ebcbae9957de" title="A list of macro variables in the section. ">CMakefileSection::m_Macros</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a780f6d59f56d8aee1fbc3687e04eebd5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * CMakefileSection::FindEnvVar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Name</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Searches environment variables by name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>an environment variable name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to an environment variable or <a class="el" href="../../d8/d7c/classCMakefileSection.html#ad9819eeb550fafffcfe7814ffd859cdd" title="A substitute variable, it is returned when no variable satisfies search conditions. ">CMakefileSection::m_NullVariable</a> if no variable has the <em>Name</em> name. </dd></dl>

</div>
</div>
<a class="anchor" id="a3b626dd591b6ebbf49382c87f9a4040e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * CMakefileSection::FindMacro </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Name</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Searches macro variables by name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Name</td><td>a macro variable name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to a macro variable or <a class="el" href="../../d8/d7c/classCMakefileSection.html#ad9819eeb550fafffcfe7814ffd859cdd" title="A substitute variable, it is returned when no variable satisfies search conditions. ">CMakefileSection::m_NullVariable</a> if no variable has the <em>Name</em> name. </dd></dl>

</div>
</div>
<a class="anchor" id="a2bb0288892998d8fef244fc7577603bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d4b/classCMakefileRule.html">CMakefileRule</a> &amp; CMakefileSection::GetRule </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>Index</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns makefile rule by the <em>Index</em> number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Index</td><td>number of a rule. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to a makefile rule. </dd></dl>

</div>
</div>
<a class="anchor" id="a59809cace68f470cfe6e8b6f9af3765c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/daa/classCStringList.html">CStringList</a> &amp; CMakefileSection::Header </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Section header, describes makefile section contents. </p>
<dl class="section return"><dt>Returns</dt><dd>reference to <a class="el" href="../../d8/d7c/classCMakefileSection.html#a19aff76a974cefa540960369eaed43ec" title="Section header, describes makefile section contents. ">CMakefileSection::m_Header</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="aefd7a83c39397eff928e487ef5e4830f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="../../d4/dba/classCMakefileVariable.html">CMakefileVariable</a> * &gt; &amp; CMakefileSection::Macros </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A list of macro variables in the section. </p>
<dl class="section return"><dt>Returns</dt><dd>reference to <a class="el" href="../../d8/d7c/classCMakefileSection.html#a77768b7c6c3acb031990ebcbae9957de" title="A list of macro variables in the section. ">CMakefileSection::m_Macros</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa1fe2aca8d228bdaf3b58ec6c9960153"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t CMakefileSection::RulesCount </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counts makefile rules in the section. </p>
<dl class="section return"><dt>Returns</dt><dd>section rules count. </dd></dl>

</div>
</div>
<a class="anchor" id="a190c932398264095c33f9aed3162fa4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CMakefileSection::Show </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prints contents of the makefile section to the standard output. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="acd47bab1b30e88633d75c9fd08497fca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_EnvVars</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A list of environment variables in the section. </p>
<p>Enviroment variable definitions follow macro variables and precide rules. </p>

</div>
</div>
<a class="anchor" id="a19aff76a974cefa540960369eaed43ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_Header</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Section header, describes makefile section contents. </p>
<p>Contains lines of text that precide other parts of the section. </p>

</div>
</div>
<a class="anchor" id="a77768b7c6c3acb031990ebcbae9957de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_Macros</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A list of macro variables in the section. </p>
<p>Macro variable definitions follow the section header and precide enviroment variables. </p>

</div>
</div>
<a class="anchor" id="a30793048110e7a747f5b142bec3143a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_NullRule</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A substitute rule, it is returned when no rule satisfies search conditions. </p>

</div>
</div>
<a class="anchor" id="ad9819eeb550fafffcfe7814ffd859cdd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_NullVariable</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A substitute variable, it is returned when no variable satisfies search conditions. </p>

</div>
</div>
<a class="anchor" id="aa5ba1d41937450d96795e4e08cb64f49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMakefileSection::m_Rules</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A list of makefile rules in the section. </p>
<p>Rule definitions follow environment variables and finish the section. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="../../d1/d9e/makefile_8h_source.html">makefile.h</a></li>
<li>src/doc/<a class="el" href="../../d6/d3b/makefile_8dox.html">makefile.dox</a></li>
<li>src/<a class="el" href="../../de/d36/makefile_8cpp.html">makefile.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jun 9 2013 10:56:06 for cbp2make by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
